package com.missilike.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author kin
 * @since 2018-12-28
 */
public class MilFriendRelationship implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 账号ID
     */
    private String accountId;

    /**
     * 好友Id
     */
    private String friendAccountId;

    /**
     * 好友的账号
     */
    private Long friendAccount;

    /**
     * 还有的昵称
     */
    private String friendAccountNickName;

    /**
     * 好友的头像图片Id(对应photo表的Id)
     */
    private Long friendAccountHeadId;

    private LocalDateTime createTime;

    /**
     * 是否删除  0没有  1已删除
     */
    private Boolean ifDelete;

    /**
     * 是否黑名单  0否  1是
     */
    private Boolean ifBlacklist;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getFriendAccountId() {
        return friendAccountId;
    }

    public void setFriendAccountId(String friendAccountId) {
        this.friendAccountId = friendAccountId;
    }

    public Long getFriendAccount() {
        return friendAccount;
    }

    public void setFriendAccount(Long friendAccount) {
        this.friendAccount = friendAccount;
    }

    public String getFriendAccountNickName() {
        return friendAccountNickName;
    }

    public void setFriendAccountNickName(String friendAccountNickName) {
        this.friendAccountNickName = friendAccountNickName;
    }

    public Long getFriendAccountHeadId() {
        return friendAccountHeadId;
    }

    public void setFriendAccountHeadId(Long friendAccountHeadId) {
        this.friendAccountHeadId = friendAccountHeadId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Boolean getIfDelete() {
        return ifDelete;
    }

    public void setIfDelete(Boolean ifDelete) {
        this.ifDelete = ifDelete;
    }

    public Boolean getIfBlacklist() {
        return ifBlacklist;
    }

    public void setIfBlacklist(Boolean ifBlacklist) {
        this.ifBlacklist = ifBlacklist;
    }

    @Override
    public String toString() {
        return "MilFriendRelationship{" +
        "id=" + id +
        ", accountId=" + accountId +
        ", friendAccountId=" + friendAccountId +
        ", friendAccount=" + friendAccount +
        ", friendAccountNickName=" + friendAccountNickName +
        ", friendAccountHeadId=" + friendAccountHeadId +
        ", createTime=" + createTime +
        ", ifDelete=" + ifDelete +
        ", ifBlacklist=" + ifBlacklist +
        "}";
    }
}
